package com.example.fiction.exception;

/**
 * 请求异常
 * author: 姚鸿杰
 * time: 2019/4/21 0:56
 **/
public class ResponseException extends Exception {

    private int code;

    public ResponseException() {
        super();
    }

    public ResponseException(String msg, int code) {
        super(msg);
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
